from django.urls import path

from apps.RouteManagement.views import RouteListView, CreateRouteView, ModifyRouteView, DeleteRouteView

urlpatterns = [
    path('routeList/', RouteListView.as_view(), name='routeList'),  # 新增路由
    path('createRoute/', CreateRouteView.as_view(), name='createRoute'),  # 新增路由
    path('modifyRoute/', ModifyRouteView.as_view(), name='modifyRoute'),  # 修改路由
    path('deleteRoute/', DeleteRouteView.as_view(), name='deleteRoute'),  # 删除路由
]
